What is an instanceof operator in java?
2438
10-Apr-2014
Sumit Kesarwani
10-Apr-2014Instanceof is an object reference operator and returns true if the object on the left-hand side is an instance of the glass given to the right hand side. This operator allows determining whether the object belongs to a particular class or not.